package com.shenyi.wx.api;

import com.shenyi.wx.entity.SearchHistoryDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/06
 * @desc 搜索历史
 * @see
 * @since 1.0
 */
public interface IApiSearchHistoryService {


    SearchHistoryDO queryObject(Integer id);


    List<SearchHistoryDO> queryList(Map<String, Object> map);


    int queryTotal(Map<String, Object> map);


    void save(SearchHistoryDO region);


    void update(SearchHistoryDO region);


    void delete(Integer id);


    void deleteBatch(Integer[] ids);

    void deleteByUserId(Long userId);
}
